package com.jintian.smart.base.api.demo.form;

import com.jintian.smart.base.api.demo.constant.CategoryTypeEnum;
import com.jintian.smart.kernel.core.domain.IForm;
import com.jintian.smart.kernel.core.enumeration.SchemaEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 类目 层级树查询
 */
@Data
public class CategoryTreeQueryForm implements IForm {
    @SchemaEnum(desc = "分类类型|可选", value = CategoryTypeEnum.class)
    private Integer categoryType;

    @Schema(description = "父级类目id|可选")
    private Long parentId;
}
